home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Frontier Scripts / The Stack Suite < prev    next >
Encoding:
Text File  |  1992-06-12  |  1.3 KB  |  31 lines

  1. Enclosure: stack suite.pkg
  2.  
  3. About the Stack Suite
  4. ---------------------
  5.  
  6. Read any computer science textbook for background on stacks. They are a basic
  7. data structure that play a very important role in building software.
  8.  
  9. At UserLand Software, we needed a Frontier-based stack for development we're
  10. doing on top of a communications software package. When connected to the host
  11. there's a limit of 30 minutes per session. However, the traversal the script
  12. does can take longer than 30 minutes. Solution: every time the script dives
  13. into a topic, it pushes its address on a stack. Every time thru the loop a
  14. sub-script checks to see if the timer expired. If so, it logs off, then logs
  15. back on. Then it uses the paths stored in the stack to restore the state, so
  16. the outer loop has no idea that the connection has been broken and
  17. re-established.
  18.  
  19. No doubt there are many other uses for Frontier stacks. That's why we have
  20. documented and released the stack suite, so other script writers can use stacks
  21. in their scripts. To see how stacks work, have a look at the stack.test script.
  22. Click on the Debug button and then click on Follow to see how it runs.
  23.  
  24. Note that this isn't a "normal" suite -- it doesn't insert a menu. In that way,
  25. it's like the "states" suite that's included with Frontier 1.0.
  26.  
  27. UserLand Software
  28. March 11, 1992
  29.  
  30. Author: EL.GRANDE
  31.